package cn.qf.first.entity;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @date: 2021/6/24 11:08
 * @description:
 */

public class Food {
    private long food_id;
    private String food_name;
    private String food_shop;
    private long food_rank;
    private long food_sellnum;
    private BigDecimal food_pirce;


    public Food(long food_id, String food_name, String food_shop, long food_rank, long food_sellnum, BigDecimal food_pirce) {
        this.food_id = food_id;
        this.food_name = food_name;
        this.food_shop = food_shop;
        this.food_rank = food_rank;
        this.food_sellnum = food_sellnum;
        this.food_pirce = food_pirce;
    }

    public long getFood_id() {
        return food_id;
    }

    public void setFood_id(long food_id) {
        this.food_id = food_id;
    }

    public String getFood_name() {
        return food_name;
    }

    public void setFood_name(String food_name) {
        this.food_name = food_name;
    }

    public String getFood_shop() {
        return food_shop;
    }

    public void setFood_shop(String food_shop) {
        this.food_shop = food_shop;
    }

    public long getFood_rank() {
        return food_rank;
    }

    public void setFood_rank(long food_rank) {
        this.food_rank = food_rank;
    }

    public long getFood_sellnum() {
        return food_sellnum;
    }

    public void setFood_sellnum(long food_sellnum) {
        this.food_sellnum = food_sellnum;
    }

    public BigDecimal getFood_pirce() {
        return food_pirce;
    }

    public void setFood_pirce(BigDecimal food_pirce) {
        this.food_pirce = food_pirce;
    }

    @Override
    public String toString() {
        return "Food{" +
                "food_id=" + food_id +
                ", food_name='" + food_name + '\'' +
                ", food_shop='" + food_shop + '\'' +
                ", food_rank=" + food_rank +
                ", food_sellnum=" + food_sellnum +
                ", food_pirce=" + food_pirce +
                '}';
    }
}
